const path = require('path');

module.exports = {
    devtool: 'cheap-module-eval-source-map',
    entry: './js/index.js',
    output: {
        path: path.resolve(__dirname, 'dist'),
        filename: 'bundle.js'
    },
    watchOptions:{
        ignored:/node_modules/,//不监测
    }
};